Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change how we specify Python versions for testing #1207

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Conversation

frankharkins
Copy link
Member

We currently test everything with Python 3.11, but this is a problem as not all writers have it available on their system. We also want to make sure our docs work with as many versions of Python as possible.

This PR allows writers to test their docs with any version of Python, and sets CI to test with Python 3.8 (the minimum version that Qiskit supports).

Copy link
Collaborator

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@frankharkins frankharkins added this pull request to the merge queue Apr 19, 2024
Merged via the queue into main with commit 391d810 Apr 19, 2024
2 checks passed
@frankharkins frankharkins deleted the FH/bump-python branch April 19, 2024 17:17
Eric-Arellano added a commit that referenced this pull request Apr 19, 2024
Fixes #1207. We use
`list[str]` in type hints rather than `List[str]`, which was only added
in Python 3.9. So it broke CI.

Python 3.9 is fine as a floor, given that Python 3.12 is newest.
frankharkins added a commit to frankharkins/documentation that referenced this pull request Jul 22, 2024
We currently test everything with Python 3.11, but this is a problem as
not all writers have it available on their system. We also want to make
sure our docs work with as many versions of Python as possible.

This PR allows writers to test their docs with any version of Python,
and sets CI to test with Python 3.8 (the minimum version that Qiskit
supports).
frankharkins pushed a commit to frankharkins/documentation that referenced this pull request Jul 22, 2024
Fixes Qiskit#1207. We use
`list[str]` in type hints rather than `List[str]`, which was only added
in Python 3.9. So it broke CI.

Python 3.9 is fine as a floor, given that Python 3.12 is newest.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants